// Angular Imports
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { FormsModule } from '@angular/forms';
import { HttpModule, JsonpModule } from '@angular/http';
import { ModalModule, PaginationModule, BsDropdownModule } from 'ngx-bootstrap';
import { AbpModule, ABP_HTTP_PROVIDER } from '@abp/abp.module';
import { ServiceProxyModule } from '@shared/service-proxies/service-proxy.module';
import { SharedModule } from '@shared/shared.module';
import { API_BASE_URL } from '@shared/service-proxies/service-proxies';
import { AppConsts } from '@shared/AppConsts';
// This Module's Components
import { OrderListComponent } from './order-list/order-list.component';
import { OrderDetailComponent } from './order-detail/order-detail.component';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    HttpModule,
    JsonpModule,
    AbpModule,
    ModalModule,
    PaginationModule,
    BsDropdownModule,
    ServiceProxyModule,
    SharedModule,
    RouterModule.forChild([
      { path: '', component: OrderListComponent }
    ])
  ],
  declarations: [
    OrderListComponent,
    OrderDetailComponent
],
  exports: [
    OrderListComponent, OrderDetailComponent
  ]
})
export class OrderModule {

}
